package com.yehuishou.controller;

import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;

import javax.print.DocFlavor.STRING;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import com.github.pagehelper.PageInfo;
import com.yehuishou.pojo.LunBo;
import com.yehuishou.service.LunBoService;
import com.yehuishou.util.KdniaoTrackQueryAPI;

/**
 * 轮播图管理
 * @author VULCAN
 *
 */
@Controller
public class LunBoController {
	
	@Autowired
	private LunBoService lunBoService;
	
	@ResponseBody
	@RequestMapping("/LunBoInfo")
	public List<LunBo> showLunBo(LunBo lunbo) {
		
		List<LunBo> lb =lunBoService.LunBoFindAll(lunbo);
		
		return lb;
	}
	
	@RequestMapping("/index2")
	public String index () {
		return "index2";
	}
	
}
